import random

computer = random.randint(0, 2)
print(computer)
player = eval(input('玩家：'))
if (player == 0 and computer == 2) or (player == 1 and computer == 0) or (player == 2 and computer == 1):
    print(f'玩家赢')
elif player == computer:
    print(f'平局')
else:
    print(f'电脑赢')
